package controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import views.WerknemersInkijkenPanel;

public class WerknemerInkijkenController implements ActionListener{

	SwitchPanel sp;
	
	public WerknemerInkijkenController(SwitchPanel switchPanel){
		sp = switchPanel;

	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		if(e.getActionCommand() == "annuleren"){
			sp.switchpanelto("Werknemers");
		}
		
	}

}
